package org.example.entity;

public class Clazz implements Cloneable{
    private String className;
    private Student student;

    @Override
    public Clazz clone() {
        try {
            Clazz clazz = (Clazz) super.clone();
            clazz.student = student.clone();
            return clazz;
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
    }
}
